const readline = require('readline');

const rl = readline.createInterface({
  input: process.stdin,
  output: process.stdout
});

rl.on('line', (input) => {
    console.log('width: '+parseInt(input)/375*100 + 'vw')
    console.log('height: '+parseInt(input)/667*100 + 'vh')
  });